// File Name: step_motor_task.h
// Author: kukukukuku~
// Date: 2024-07-04

#ifndef __STEP_MOTOR_TASK_H
#define __STEP_MOTOR_TASK_H

#include "./User/Step_Motor/inc/step_motor_logic.h"
#include "FreeRTOS.h"
#include "semphr.h"
#include "task.h"

#define TASK_STEP_MOTOR_LABEL               "task step motor"
#define TASK_STEP_MOTOR_STACK               (64)
#define TASK_STEP_MOTOR_PRIORITIES          (3)

extern TaskHandle_t taskHandleStepMotor;   //Step_Motor任务句柄

extern SemaphoreHandle_t semaphBinStepMotor;   //Step_Motor二值信号量

//Step_Motor任务
void task_step_motor(void *arg);

#endif //__STEP_MOTOR_TASK_H
